Create vcap_services.json
to capture Bluemix VCAP service credential
Usage:
Streaming Analytics
serviceStreaming Analytics
serviceService Credentials
tabNew Credential
button (if one is not already available)Key Name
and Credentials
into the cells belowvcap_services.json
In [ ]:
key_name='Streaming-Analytics'
credentials={}
In [ ]:
import json
vs = {
'streaming-analytics': [
{
'name': key_name,
'credentials': credentials
}
]
}
with open ('vcap_services.json', 'w') as outfile:
json.dump(vs, outfile)
In [ ]: